package com.zh.servicer.service.impl;


import com.zh.servicer.dao.OcServicerTypeDao;
import com.zh.servicer.domain.OcServicerTypeDO;
import com.zh.servicer.service.OcServicerTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class OcServicerTypeServiceImpl implements OcServicerTypeService {
	@Autowired
	private OcServicerTypeDao ocServicerTypeDao;
	
	@Override
	public OcServicerTypeDO get(Long id){
		return ocServicerTypeDao.get(id);
	}
	
	@Override
	public List<OcServicerTypeDO> list(Map<String, Object> map){
		return ocServicerTypeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ocServicerTypeDao.count(map);
	}
	
	@Override
	public int save(OcServicerTypeDO ocServicerType){
		return ocServicerTypeDao.save(ocServicerType);
	}
	
	@Override
	public int update(OcServicerTypeDO ocServicerType){
		return ocServicerTypeDao.update(ocServicerType);
	}
	
	@Override
	public int remove(Long id){
		return ocServicerTypeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return ocServicerTypeDao.batchRemove(ids);
	}
	
}
